﻿<%@ Control Language="C#" %>
<script type="text/javascript">
    function showc(temp, temp1) {
            if(temp1.toString().length>10){
                temp1=temp1.toString().substring(0,10);
            }
            document.getElementById('a2').innerHTML = temp1;
            window.parent.show(temp);/*跳出这一级，显示父级*/
            document.getElementById("input1").value = temp; 
        }
        function show1() {
            document.getElementById('a1').className = "selected";
            document.getElementById('a2').className = "none";
            document.getElementById('a3').className = "none";
        }
        function show2() {
            document.getElementById('a2').className = "selected";
            document.getElementById('a1').className = "none";
            document.getElementById('a3').className = "none";
        }
        function show3() {
            document.getElementById('a3').className = "selected";
            document.getElementById('a1').className = "none";
            document.getElementById('a2').className = "none";
        }
        function show4()
        {
        
        }
        
        function showm(){
            var tt=window.parent.document.getElementById('mainFrame').src;
            var tt1 = document.getElementById('a2').innerHTML;
            var t1 = document.getElementById('input1').value;
            if (t1 != null && t1 != "") {
                if (t1.indexOf("../") == -1) { t1 = "../" + t1; }
                var tt2 = t1.substring(0, t1.length);
                document.getElementById('a2').href = tt2;
                showc(tt2, tt1);
            } else {
            document.getElementById('a2').href = 'about:blank';
            }
        }
        /*showc和showm这两个方法主要是用来操作表头按钮的操作*/
        function disli1(){
            document.getElementById("li1").style.display='none';
        }
        
        
        
    </script>
<div id="pettabs" class="indentmenu">
        <ul>
            <li><a id="a1" onfocus="show1()"
                href="DaohangPage.aspx" target="mainFrame" title="功能导航" class="selected">功能导航</a></li>
            <li><a id="a2" onfocus="show2()" onclick="showm()" 
                href="about:blank" target="mainFrame" title="无标题" style="line-height: 35px; width:144px;">
                空白页</a></li>
            <%--<li id="li1"><a id="a3" onfocus="show3()" href="http://192.168.253.20/cqb" target="mainFrame" title="GIS地图" style="line-height: 35px; width:144px;">
                GIS地图</a></li>--%>
        </ul>
         <div style="height:37px;line-height:30px;text-align:right;">
            <span style="font-size:13px;">您好:<asp:Literal ID="showname" runat="server"></asp:Literal>
            <asp:Label ID="lbtnShouLi" runat="server" Text="" Visible="false"></asp:Label>
            
            <asp:Label ID="showgw"  runat="server" ></asp:Label>
            
         <%--   <a href="javascript:void(0)" onclick="showc('../RCManage/RC_FWSelect.aspx','查看公文')" id="showgw" ></a>--%>
            </span>&nbsp;
        <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>Images/jia.gif" align="absmiddle"  onclick='window.parent.change();' style="cursor:pointer" />&nbsp;
        <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>Images/printer.png" align="absmiddle"  onclick='window.parent.onPrint();' style="cursor:pointer"/>
             &nbsp;<%--<asp:Button ID="Button1" runat="server" Text="退出" CssClass="button" Visible="false" />&nbsp;&nbsp;--%>
             <input id="Button2" type="button" value="退出" onclick="javascript:window.parent.location.href('../Login.aspx');" />
         </div>
    </div>
    <div style="display:none;">
        <input type="text" id="input1" />
    </div>